package com.sxz.sbs.module.client.bean;


import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author hp
 * @date 2018/1/9
 * 车辆列表Bean
 */

public class CarListBean implements Parcelable {


    /**
     * txt_CarNumber : 豫A 88888
     * txt_Remark : 这车厉害啊
     * Id : 1
     * txt_CarPrice : 1000万
     * Custom_Id : 1
     */

    private String txt_CarNumber;
    private String txt_Remark;
    private int Id;
    private String txt_CarPrice;
    private int Custom_Id;

    public String getTxt_CarNumber() {
        return txt_CarNumber;
    }

    public void setTxt_CarNumber(String txt_CarNumber) {
        this.txt_CarNumber = txt_CarNumber;
    }

    public String getTxt_Remark() {
        return txt_Remark;
    }

    public void setTxt_Remark(String txt_Remark) {
        this.txt_Remark = txt_Remark;
    }

    public int getId() {
        return Id;
    }

    public void setId(int Id) {
        this.Id = Id;
    }

    public String getTxt_CarPrice() {
        return txt_CarPrice;
    }

    public void setTxt_CarPrice(String txt_CarPrice) {
        this.txt_CarPrice = txt_CarPrice;
    }

    public int getCustom_Id() {
        return Custom_Id;
    }

    public void setCustom_Id(int Custom_Id) {
        this.Custom_Id = Custom_Id;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.txt_CarNumber);
        dest.writeString(this.txt_Remark);
        dest.writeInt(this.Id);
        dest.writeString(this.txt_CarPrice);
        dest.writeInt(this.Custom_Id);
    }

    public CarListBean() {
    }

    protected CarListBean(Parcel in) {
        this.txt_CarNumber = in.readString();
        this.txt_Remark = in.readString();
        this.Id = in.readInt();
        this.txt_CarPrice = in.readString();
        this.Custom_Id = in.readInt();
    }

    public static final Parcelable.Creator<CarListBean> CREATOR = new Parcelable.Creator<CarListBean>() {
        @Override
        public CarListBean createFromParcel(Parcel source) {
            return new CarListBean(source);
        }

        @Override
        public CarListBean[] newArray(int size) {
            return new CarListBean[size];
        }
    };
}
